GcWicBitmap Constructor(String,Int32,Nullable<Rectangle>)
In This Topic
Initializes a new instance of the
GcWicBitmap class.
Syntax
'Declaration
Public Function New( _
ByVal As System.String, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Nullable(Of Rectangle) _
)
public GcWicBitmap(
System.string ,
System.int ,
System.Nullable<Rectangle>
)
Parameters
- path
- The file path to the image. JPEG, PNG, GIF, BMP, TIFF, ICO, JPEG XR formats are supported.
- frameIndex
- Index of an image frame to read, pass 0 for image formats not supporting multiple frames.
- imageRect
- Clipping rectangle of the image to be loaded.
See Also